package com.njtoyo.taxi.admin.rest.controller.business.customer;

import cn.hutool.core.lang.Dict;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.aop.PermissionScope;
import com.njtoyo.taxi.admin.rest.presenter.customer.CustomerArrearsListPresenter;
import com.njtoyo.taxi.admin.rest.presenter.customer.CustomerDetailPresenter;
import com.njtoyo.taxi.admin.rest.presenter.customer.CustomerListPresenter;
import com.njtoyo.taxi.admin.rest.presenter.customer.CustomerQueryLikeListPresenter;
import com.njtoyo.taxi.admin.rest.readfile.customer.CustomerQueryResult;
import com.njtoyo.taxi.admin.rest.wrapper.business.customer.*;
import com.njtoyo.taxi.admin.service.business.customer.CustomerService;
import com.njtoyo.taxi.admin.service.business.customer.CustomerTagService;
import com.njtoyo.taxi.entity.backend.AdminUser;
import com.taxi.entity.common.RestResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import springfox.documentation.annotations.ApiIgnore;

import javax.servlet.http.HttpServletResponse;
import javax.validation.Valid;
import java.io.IOException;
import java.util.List;

@RestController
@RequestMapping("business/customer/tag")
public class CustomerTagController {

    @Autowired
    private CustomerTagService customerTagService;



    @PostMapping("/select")
    public RestResult select(@ModelAttribute("admin") AdminUser adminUser, @RequestBody Dict dict) {
        return customerTagService.selectTag(adminUser, dict);
    }


}
